import request from "utils/request";

//登录
export const LoginAPI = (data) => {
  return request({
    method: "post",
    url: "/v1_0/authorizations",
    data,
  });
};
//请求用户信息
export const getUserInfoAPI = () => {
  return request({
    url: "/v1_0/user/profile",
    method: "get",
  });
};
